package com.example.bbs.mapper;

import com.example.bbs.entity.Disease;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiaziyun
 * @since 2021-04-30
 */
@Repository
public interface DiseaseMapper extends BaseMapper<Disease> {

    int getViewById(int id);

    void updateViewById(Map<String,Integer> parm);
}
